<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
    pageContext.setAttribute("basePath",basePath);
    String bankRequestType =request.getAttribute("bankRequestType").toString();
    String queryPath = "";
    if(bankRequestType.equals("0")){
        queryPath = basePath+"/bank/bankOrderRequest";
    }else{
        queryPath = basePath+"/bank/cardOrderRequest";
    }
    pageContext.setAttribute("queryPath",queryPath);
%>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>银行调单系统</title>
    <%@include file="/common/header.jsp"%>
    <script type="text/javascript">
        queryPath ='${queryPath}';
        bankRequestType ='${bankRequestType}';
        var reqStr = '${request}';
    </script>
    <script type="text/javascript" src="${basePath}/js/bankorder/requestDetailModify.js"></script>


</head>
<body class="hold-transition fq-white sidebar-mini fq-body">



    <div style="background-color: #ecf0f5">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <div class="fq-tit-h1">
                <div class="fq-tit-box  clearfix">
                    <i class="fa fa-bank iconBg fl"></i>
                    <div class="fl">
                        <h2 class="">银行查询</h2>
                        <small>Bank inquiry</small>
                    </div>
                </div>
            </div>
        </section>

        <!-- Main content -->
        <section class="content">
            <div class="box">
                <div class="box-header with-border">
                    <h3 class="box-title ">
                        银行查询信息
                    </h3>
                    <span class="infor-btn-area"><a href="#" id="saveBtn">暂存</a><a href="#" id="exitBtn">取消</a></span>
                </div>
                <div class="box-body">
                    <div class="w-check-condition-area clearfix">
                        <div class="w-check-condition w-auto">
                            <ul class="check-condition-ul">
                                <li class="check-condition-li clearfix">
                                    <div class="kv-box clearfix">
                                        <div class="key">
                                            银行订单号：
                                        </div>
                                        <div class="val">
                                            <input type="hidden"   name="id" id="id"/>
                                            <input type="text" class="form-control input-sm w-l-input" name="bankRequestNo" id="bankRequestNo"/>
                                        </div>
                                    </div>

                                    <div class="kv-box center-kv-box clearfix">
                                        <div class="key">
                                            查询类型：
                                        </div>
                                        <div class="val">
                                            <select cube-type="select" class="cu-select cu-select-xl w-sp" name="requestType" id="requestType">
                                                <option value="" >选择</option>
                                                <option value="0" selected="selected">查询</option>
                                                <option value="1">拒付</option>
                                            </select>
                                         <!--   <div cube-type="select" class="cu-select cu-select-xl w-sp">
                                                <span cube-type="title" class="title">查询</span>
                                                <s><i></i></s>
                                                <ul cube-type="cont">
                                                    <li><a href="javascript:void(0);">选择1</a></li>
                                                    <li><a href="javascript:void(0);">选择2</a></li>
                                                    <li><a href="javascript:void(0);">选择3</a></li>
                                                    <li><a href="javascript:void(0);">选择4</a></li>
                                                    <li><a href="javascript:void(0);">选择5</a></li>
                                                    <li><a href="javascript:void(0);">选择6</a></li>
                                                </ul>
                                                <input type="hidden" value="" name="" class="required">
                                            </div>-->
                                        </div>
                                    </div>

                                    <div class="kv-box center-kv-box clearfix">
                                        <div class="key">
                                            紧急状态：
                                        </div>
                                        <div class="val">
                                            <select cube-type="select" class="cu-select cu-select-xl w-sp" name="emergencyState" id="emergencyState">
                                                <option value="" >选择</option>
                                                <option value="0" selected="selected">普通</option>
                                                <option value="1">紧急</option>
                                            </select>
                                        </div>
                                    </div>
                                </li>
                                <li class="check-condition-li clearfix">
                                    <div class="kv-box clearfix">
                                        <div class="key">
                                            是否拦截：
                                        </div>
                                        <div class="val">
                                            <select cube-type="select" class="cu-select cu-select-xl w-sp" name="interceptState" id="interceptState">
                                                <option value="" >选择</option>
                                                <option value="1" selected="selected">是</option>
                                                <option value="0">否</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="kv-box clearfix">
                                        <div class="key">
                                            交易时间：
                                        </div>
                                        <div class="val">
                                            <div class="input-group clearfix">
                                                <div class="input-group-addon">
                                                    <i class="fa fa-calendar"></i>
                                                </div>
                                                <input type="text" class="form-control h38" id="tradeDate">
                                            </div>
                                        </div>
                                    </div>

                                    <div class="kv-box clearfix">
                                        <div class="key">
                                            交易金额：
                                        </div>
                                        <div class="val">
                                            <input type="text" class="form-control input-sm w-l-input" id="tradeMoney"  name="tradeMoney"/>
                                        </div>
                                    </div>




                                </li>
                                <li class="check-condition-li clearfix">
                                    <div class="kv-box clearfix">
                                        <div class="key">
                                            姓名：
                                        </div>
                                        <div class="val">
                                            <input type="text" class="form-control input-sm w-l-input" id="realName" name="realName"/>
                                        </div>
                                    </div>

                                    <div class="kv-box clearfix">
                                        <div class="key">
                                            身份证号：
                                        </div>
                                        <div class="val">
                                            <input type="text" class="form-control input-sm w-l-input"  name="certno" id="certno" />
                                        </div>
                                    </div>
                                    <div class="kv-box clearfix">
                                        <div class="key">
                                            预留手机号：
                                        </div>
                                        <div class="val">
                                            <input type="text" class="form-control input-sm w-l-input" name="telephone" id="telephone"/>
                                        </div>
                                    </div>
                                </li>
                                <li class="check-condition-li clearfix">
                                    <div class="kv-box clearfix" style="width: 99%;">
                                        <div class="key">
                                            查询状态：
                                        </div>
                                        <div class="val">
                                            <p class="w-common-text col-red">未发送</p>
                                        </div>
                                    </div>

                                </li>
                                <li class="check-condition-li clearfix">
                                    <div class="kv-box clearfix" style="width: 99%">
                                        <div class="key">
                                            银行备注：
                                        </div>
                                        <div class="val">
                                            <textarea  class="remarks" cols="30" rows="10" name="remark" id="remark"></textarea>
                                        </div>
                                    </div>


                                </li>

                                <li class="check-condition-li clearfix">


                                    <div class="kv-box clearfix">
                                        <div class="key">
                                            上传附件：
                                        </div>
                                        <div class="val">
                                            <form id='myForm' method="post" enctype="multipart/form-data" action="${basePath}/bank/bankOrderRequest/uploadFile.do">
                                                <a href=""><input type="file" id="uploadObject" name="uploadObject"></a><a href="javascrpit:void(0)" onclick="subForm()"><i class="fa fa-fw fa-file-text"></i>上传</a>
                                            </form>
                                            <div class="s-btn-area fl">

                                            </div>
                                            <div class="fj-area fl" id="fileListDiv">
                                            </div>
                                        </div>
                                    </div>

                                </li>
                            </ul>
                            <div class="w-gofor-check">
                                <a href="javascript:void(0);" class="check-btn" id="sendBtn">发送</a>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- /.box-body -->
            </div>



            <div class="box">
                <div class="box-header with-border">
                    <h3 class="box-title ">
                        京东回复
                    </h3>
                </div>
                <div class="box-body">
                    <p class="w-no-send-tips">尚未发送，京东暂无回复信息！</p>

                </div>
                <!-- /.box-body -->
            </div>
        </section>



        <!--新增成功弹层-->
        <div class="panelboxR"  style="display: none;position: absolute;top: 100px;left: 100px;" id="addSuccessMsg">
            <div class="panelwrap">
                <div class="paneltitle">
                    <span class="text">操作提示</span>
                    <span class="panelclose"></span>
                </div>
                <div class="panelcon clearfix">
                    <div class="panel-text-area">
                <span class="text-tips success-tips">
                    <i class="tips"></i>
                    恭喜您，暂存成功！
                </span>
                        <!--<p class="sub-text">原因可能是：用户不存在或用户状态异常</p>-->
                    </div>
                    <div class="panel-btn">
                        <a href="javascript:void(0);" class="sign-out">确定</a>
                    </div>
                </div>
            </div>
        </div>
        <!-- /.content -->
        <div class="panelboxR"  style="display: none;position: absolute;top: 100px;left: 500px;" id="addFailMsg">
            <div class="panelwrap">
                <div class="paneltitle">
                    <span class="text">操作提示</span>
                    <span class="panelclose"></span>
                </div>
                <div class="panelcon clearfix">
                    <div class="panel-text-area">
                <span class="text-tips error-tips" id="addErrMsg">
                    <i class="tips"></i>

                </span>
                    </div>
                    <div class="panel-btn">
                        <a href="javascript:;" class="sign-out">确定</a>
                    </div>
                </div>
            </div>
        </div>
    </div>




</body>
</html>

